Skip to content

Fix Links in blade views are misplaced after multibyte characters #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

N1ebieski
Copy link

@N1ebieski N1ebieski commented Apr 11, 2025

Fixes laravel/vs-code-extension#364

Stillat\BladeParser\Document\Document::fromText treats multibyte characters as indentations and spaces resulting in a miscalculated Node position.

This PR adds a function that replaces the multibyte characters with a single, placeholder character.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Links in blade views are misplaced after multibyte characters.
1 participant